package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.EmployApply;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface EmployApplyDao {
	
	public EmployApply selectById(String id);
	
	public List<EmployApply> selectList(Map<String, Object> map);
	
	//public List<EmployApply> selectListByState(int[] state);
	
	public List<EmployApply> selectToExamine(Map<String, Object> map);
	
	//public int countExamine(Map<String, Object> map);
	
	public Long selectCount(Map<String, Object> map);

	public int insert(EmployApply employApply);
	
	public void updateById(EmployApply employApply);
	
	public void updateforExam(EmployApply employApply);
	
	public void deleteById(String id);
	
	public List<EmployApply> listEmployApplyByUserId(int applyUserId);
	
	public EmployApply findApplyById(int applyUserId);
	
	public EmployApply findLastResult();
	
}
